import { observable, action } from 'mobx'
class UserStore {
  @observable username = '吴大勋'
  constructor(store) {
    this.store = store
  }

  @action changeUserName(payload) {
    this.username = payload
  }
}
export default UserStore